/**
 * @author Caius
 * @description
 *      定义http客户端工具bean
 * @version 1.0
 * @since Created in 2025-01-14
 */

package com.itsense.stock.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class HttpClientConfig {
    /**
     * 定义RestTemplate的bean
     * @return
     */
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
